package com.rainwood.water_authority.http.response;

import java.util.List;

/**
 * @auther : hhx
 * @date :  2021/3/17
 * @des :
 */

public class PanDianHistoryBean {

    /**
     * code : 1
     * data : {"info":{"id":"testset","orderId":"fvcd8dcu5yjh","num":"16.000","stockNum":"11.000","material":{"code":"22","name":"测试材料1","model":"测试材料简称1","unit":"件"}},"record":[{"text":"【王海】修改【PVC管】盘点数量为10.000","time":"2020-12-25 13:53:55"},{"text":"【王海】修改【PVC管】盘点数量为50.000","time":"2020-12-25 13:54:59"},{"text":"【王海】修改【PVC管】盘点数量为40.000","time":"2020-12-25 13:44:19"},{"text":"【王海】修改【PVC管】盘点数量：2","time":"2020-12-25 13:54:02"},{"text":"【王海】修改【PVC管】盘点数量为50.000","time":"2020-12-25 13:44:30"}]}
     * warn : success
     */

    private Integer code;
    private DataBean data;
    private String warn;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getWarn() {
        return warn;
    }

    public void setWarn(String warn) {
        this.warn = warn;
    }

    public static class DataBean {
        /**
         * info : {"id":"testset","orderId":"fvcd8dcu5yjh","num":"16.000","stockNum":"11.000","material":{"code":"22","name":"测试材料1","model":"测试材料简称1","unit":"件"}}
         * record : [{"text":"【王海】修改【PVC管】盘点数量为10.000","time":"2020-12-25 13:53:55"},{"text":"【王海】修改【PVC管】盘点数量为50.000","time":"2020-12-25 13:54:59"},{"text":"【王海】修改【PVC管】盘点数量为40.000","time":"2020-12-25 13:44:19"},{"text":"【王海】修改【PVC管】盘点数量：2","time":"2020-12-25 13:54:02"},{"text":"【王海】修改【PVC管】盘点数量为50.000","time":"2020-12-25 13:44:30"}]
         */

        private InfoBean info;
        private List<RecordBean> record;
           private String direction;

        public String getDirection() {
            return direction;
        }

        public void setDirection(String direction) {
            this.direction = direction;
        }

        public InfoBean getInfo() {
            return info;
        }

        public void setInfo(InfoBean info) {
            this.info = info;
        }

        public List<RecordBean> getRecord() {
            return record;
        }

        public void setRecord(List<RecordBean> record) {
            this.record = record;
        }

        public static class InfoBean {
            /**
             * id : testset
             * orderId : fvcd8dcu5yjh
             * num : 16.000
             * stockNum : 11.000
             * material : {"code":"22","name":"测试材料1","model":"测试材料简称1","unit":"件"}
             */

            private String id;
            private String orderId;
            private String num;
            private String stockNum;
            private MaterialBean material;
            private String planNum;
            private String source;

            public String getSource() {
                return source;
            }

            public void setSource(String source) {
                this.source = source;
            }

            public String getPlanNum() {
                return planNum;
            }

            public void setPlanNum(String planNum) {
                this.planNum = planNum;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getStockNum() {
                return stockNum;
            }

            public void setStockNum(String stockNum) {
                this.stockNum = stockNum;
            }

            public MaterialBean getMaterial() {
                return material;
            }

            public void setMaterial(MaterialBean material) {
                this.material = material;
            }

            public static class MaterialBean {
                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getModel() {
                    return model;
                }

                public void setModel(String model) {
                    this.model = model;
                }

                public String getUnit() {
                    return unit;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                /**
                 * code : 22
                 * name : 测试材料1
                 * model : 测试材料简称1
                 * unit : 件
                 */

                private String code;
                private String name;
                private String model;
                private String unit;
            }
        }


        public static class RecordBean {
            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            /**
             * text : 【王海】修改【PVC管】盘点数量为10.000
             * time : 2020-12-25 13:53:55
             */

            private String text;
            private String time;
        }
    }
}
